/*
 * DataObjects.h
 *
 *  Created on: Jun 15, 2011
 *      Author: wilsok17
 */

#include <list>
using namespace std;

#ifndef DATAOBJECTS_H_
#define DATAOBJECTS_H_

enum DIRECTION {START, N, S, E, W};

struct Message {
	int seekerID_;
	int type_;
};

struct SeekerReport:Message {
	int currentLeg_;
	int lastRouteLegComplete_;
	int pathStatus_;
};

struct SeekerRoute:Message {
	list<DIRECTION> rtDirections_;
};


static DIRECTION getDirection(int i){
	switch(i) {
	case 2:
		return N;
	case 3:
		return S;
	case 4:
		return E;
	case 5:
		return W;
	}
}

#endif /* DATAOBJECTS_H_ */
